[INFO] fetching crate nlog 0.2.2...
[INFO] building nlog-0.2.2 against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] extracting crate nlog 0.2.2 into /workspace/builds/worker-7/source
[INFO] validating manifest of crates.io crate nlog 0.2.2 on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate nlog 0.2.2
[INFO] finished tweaking crates.io crate nlog 0.2.2
[INFO] tweaked toml for crates.io crate nlog 0.2.2 written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4619ce67900a3d36807180777b22f5315de7787361755fbfce36eaa3eb252069
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "4619ce67900a3d36807180777b22f5315de7787361755fbfce36eaa3eb252069", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4619ce67900a3d36807180777b22f5315de7787361755fbfce36eaa3eb252069", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4619ce67900a3d36807180777b22f5315de7787361755fbfce36eaa3eb252069", kill_on_drop: false }`
[INFO] [stdout] 4619ce67900a3d36807180777b22f5315de7787361755fbfce36eaa3eb252069
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5a8ef43893bb6a6ce46a2ac483945223f806ce68bc21eaa4d22469f8a278e62b
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "5a8ef43893bb6a6ce46a2ac483945223f806ce68bc21eaa4d22469f8a278e62b", kill_on_drop: false }`
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling nlog v0.2.2 (/opt/rustwide/workdir)
[INFO] [stdout] error: this crate is designed for Windows platforms only
[INFO] [stdout]   --> src/lib.rs:32:1
[INFO] [stdout]    |
[INFO] [stdout] 32 | compile_error!("this crate is designed for Windows platforms only");
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/lib.rs:66:17
[INFO] [stdout]    |
[INFO] [stdout] 66 |     use winapi::um::winuser::{FindWindowA, FindWindowExA, SendMessageW, GetWindowTextLengthW, EM_GETSEL, EM_SETSEL, EM_REPLACESEL};
[INFO] [stdout]    |                 ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/lib.rs:67:17
[INFO] [stdout]    |
[INFO] [stdout] 67 |     use winapi::shared::minwindef::DWORD;
[INFO] [stdout]    |                 ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]   --> src/lib.rs:95:18
[INFO] [stdout]    |
[INFO] [stdout] 95 |     use std::os::windows::ffi::OsStrExt;
[INFO] [stdout]    |                  ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FindWindowA` in this scope
[INFO] [stdout]   --> src/lib.rs:78:9
[INFO] [stdout]    |
[INFO] [stdout] 78 |         FindWindowA(NULL(), b"Untitled - Notepad\0".as_ptr() as _)
[INFO] [stdout]    |         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FindWindowExA` in this scope
[INFO] [stdout]   --> src/lib.rs:87:9
[INFO] [stdout]    |
[INFO] [stdout] 87 |         FindWindowExA(notepad, NULL(), b"EDIT\0".as_ptr() as _, NULL())
[INFO] [stdout]    |         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/lib.rs:111:24
[INFO] [stdout]     |
[INFO] [stdout] 111 |         let mut sel_a: DWORD = 0;
[INFO] [stdout]     |                        ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/lib.rs:112:24
[INFO] [stdout]     |
[INFO] [stdout] 112 |         let mut sel_z: DWORD = 0;
[INFO] [stdout]     |                        ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowTextLengthW` in this scope
[INFO] [stdout]    --> src/lib.rs:113:19
[INFO] [stdout]     |
[INFO] [stdout] 113 |         let len = GetWindowTextLengthW(edit);
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendMessageW` in this scope
[INFO] [stdout]    --> src/lib.rs:114:9
[INFO] [stdout]     |
[INFO] [stdout] 114 |         SendMessageW(edit, EM_GETSEL as _, &mut sel_a as *mut _ as _, &mut sel_z as *mut _ as _);
[INFO] [stdout]     |         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EM_GETSEL` in this scope
[INFO] [stdout]    --> src/lib.rs:114:28
[INFO] [stdout]     |
[INFO] [stdout] 114 |         SendMessageW(edit, EM_GETSEL as _, &mut sel_a as *mut _ as _, &mut sel_z as *mut _ as _);
[INFO] [stdout]     |                            ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendMessageW` in this scope
[INFO] [stdout]    --> src/lib.rs:115:9
[INFO] [stdout]     |
[INFO] [stdout] 115 |         SendMessageW(edit, EM_SETSEL as _, len as _, len as _);
[INFO] [stdout]     |         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EM_SETSEL` in this scope
[INFO] [stdout]    --> src/lib.rs:115:28
[INFO] [stdout]     |
[INFO] [stdout] 115 |         SendMessageW(edit, EM_SETSEL as _, len as _, len as _);
[INFO] [stdout]     |                            ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendMessageW` in this scope
[INFO] [stdout]    --> src/lib.rs:116:9
[INFO] [stdout]     |
[INFO] [stdout] 116 |         SendMessageW(edit, EM_REPLACESEL as _, 1 as _, buf.as_ptr() as _);
[INFO] [stdout]     |         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EM_REPLACESEL` in this scope
[INFO] [stdout]    --> src/lib.rs:116:28
[INFO] [stdout]     |
[INFO] [stdout] 116 |         SendMessageW(edit, EM_REPLACESEL as _, 1 as _, buf.as_ptr() as _);
[INFO] [stdout]     |                            ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendMessageW` in this scope
[INFO] [stdout]    --> src/lib.rs:117:9
[INFO] [stdout]     |
[INFO] [stdout] 117 |         SendMessageW(edit, EM_SETSEL as _, sel_a as _, sel_z as _);
[INFO] [stdout]     |         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EM_SETSEL` in this scope
[INFO] [stdout]    --> src/lib.rs:117:28
[INFO] [stdout]     |
[INFO] [stdout] 117 |         SendMessageW(edit, EM_SETSEL as _, sel_a as _, sel_z as _);
[INFO] [stdout]     |                            ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope
[INFO] [stdout]    --> src/lib.rs:106:36
[INFO] [stdout]     |
[INFO] [stdout] 106 |     buf.extend(OsStr::new(message).encode_wide().filter(|&c| c != 0));
[INFO] [stdout]     |                                    ^^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 18 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `nlog`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "5a8ef43893bb6a6ce46a2ac483945223f806ce68bc21eaa4d22469f8a278e62b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5a8ef43893bb6a6ce46a2ac483945223f806ce68bc21eaa4d22469f8a278e62b", kill_on_drop: false }`
[INFO] [stdout] 5a8ef43893bb6a6ce46a2ac483945223f806ce68bc21eaa4d22469f8a278e62b
